<?php
use cornernote\ace\web\AceAsset;
use yii\helpers\Html;

/**
 * @var $this \yii\web\View
 * @var $content string
 */

AceAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="UTF-8">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title . ' :: ' . Yii::$app->params['appName']) ?></title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <?php $this->head() ?>
</head>
<?php $this->beginBody() ?>
<body class="no-skin">
<?= $this->render('_navbar') ?>
<div class="main-container" id="main-container">
    <?= $this->render('_sidebar') ?>
    <?= $this->render('_content', ['content' => $content]) ?>
    <?= $this->render('_footer') ?>
</div>
</body>
<?php $this->endBody() ?>
</html>
<?php $this->endPage() ?>
